﻿<Window x:Class="Demo.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
        FontFamily="Calibri"  FontSize="14" TextOptions.TextRenderingMode="ClearType" TextOptions.TextFormattingMode="Display" UseLayoutRounding="True"
        Title="UI Annotations Demo" Height="332" Width="465" WindowStartupLocation="CenterScreen" ResizeMode="NoResize">

    <Grid Margin="50">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition />
            <RowDefinition />
            <RowDefinition Height="10" />
            <RowDefinition />
        </Grid.RowDefinitions>
        <Button Name="openAnnotationsButton" Content="UI Annotations" Width="120" Height="33" Click="openAnnotationsButton_Click" />
        <Button Name="openGenericAdornerButton" Content="Generic Adorner" Grid.Row="1" Width="120" Height="33" Click="openGenericAdornerButton_Click" />
        <Button Name="openBehaviorsButton" Content="Behaviors" Grid.Row="2" Width="120" Height="33" Click="openBehaviorsButton_Click" />
        <StackPanel Width="120" Grid.Row="4">
            <TextBlock Text="Language"/>
            <ComboBox SelectedIndex="0" SelectionChanged="OnLanguageSelectionChanged">
                <ComboBoxItem>English</ComboBoxItem>
                <ComboBoxItem>German</ComboBoxItem>
            </ComboBox>
        </StackPanel>
    </Grid>

    <Window.Background>
        <RadialGradientBrush>
            <GradientStop Color="White" Offset="0" />
            <GradientStop Color="#FFCDD6EF" Offset="1" />
        </RadialGradientBrush>
    </Window.Background>
</Window>
